Xbasic

A5.GET_EXE_PATH Function

Syntax

Path as C = .Get_Exe_Path()

Description

Returns the path in which the main <+PRODUCT_NAME-> executable is stored.

The A5.GET_EXE_PATH() method returns the path of the Alpha Anywhere executable.

If you are going to reference a file, you have to add the backslash at the end of the path.

Example

? A5.GET_EXE_PATH()
= "C:\Program Files\A5V6"
? a5.Get_exe_Path()+ "\\"
= "C:\Program Files\a5v6\"

See Also